home *** CD-ROM | disk | FTP | other *** search
/ Business & Presentations / Business and Presentations - Volume 1 (1995)(Sideface)(NL).iso / drivers / hp2pmore / hp2pcmnt.spl < prev    next >
Text File  |  1990-01-14  |  14KB  |  288 lines

  1. ;;;;;;;;;;;;;;;;;;; HP LASERJET IIP ;;;;;;;;;;;;;;;;;;
  2.  
  3. printer LaserJet IIP,root,page ^M,
  4. ;; The resident PC8, PC850, and PC8DN fonts include the IBM extended
  5. ;; character set.  You can use these fonts to draw boxes.
  6. ;; You cannot draw boxes with the resident ECMA94 or Roman8 fonts.
  7. ;; Pica and Elite fonts are Courier; Lineprinter is OCRA-B.
  8. ;; Prepared by Daniel L. Johnson  January 15, 1990
  9.  
  10. ;;Add the following line to the printer list in MAIN.SPL
  11. ;;      printer LaserJet IIP, in hp2p.spl
  12. ;; (add the drive prefix unless you 
  13. ;; copy it into the directory sp-setup occupies!).
  14. ;; This library file assumes no font cartridges are installed.
  15. ;; Hplaser.spl has plenty of font descriptions.
  16.  
  17.     hpi 300,vpi 300,size 50,ff^L,cr^M,leftm 2,
  18.     init ^[&l8c0e66F^[&aR^[9^[&l0O,flag2,
  19.     fwd %1g^[*p%uX,mhm 255,shadow 2,
  20.     down ^[*p+%uY,mvm 255,reset^[E
  21.  
  22. ;; Explanation of init string:
  23. ;;        init ^[&l8c0e66F^[&aR^[9^[&l0O
  24. ;;                  | |  |    |  |     |> Portrait mode
  25. ;;                  | |  |    |  |> Reset to default margin
  26. ;;                  | |  |    |> Set "cursor" to zeroth row
  27. ;;                  | |  |> Set 66 lines/page
  28. ;;                  | |> Set topmargin to 0
  29. ;;                  |> Set vertical motion index to 8/48" increments
  30.  
  31. printer LaserJet IIP.PC8-Portrait
  32. font Pica,width 30,on^[(10U^[(s0p10h12v0s0b3T
  33. ;;                        |     |  |  | | | |> Courier typeface
  34. ;;                        |     |  |  | | |> Medium stroke weight
  35. ;;                        |     |  |  | |> Upright style
  36. ;;                        |     |  |  |> 12-point size
  37. ;;                        |     |  |> pitch=10 cpi
  38. ;;                        |     |> Fixed pitch
  39. ;;                        |> PC-8 Character set
  40. font Pica.italic,width 30,on^[(10U^[(s0p10h12v1s0b3T
  41. ;;                                             |> Slightly bold stroke
  42. font Pica.bold,width 30,on^[(10U^[(s0p10h12v0s3b3T
  43. font Elite,width 25,on^[(10U^[(s0p12h10v0s0b3T
  44. ;;                                  |  |> 10 point size
  45. ;;                                  |> pitch = 12 cpi
  46. font Elite.italic,width 25,on^[(10U^[(s0p12h10v1s0b3T
  47. font Elite.bold,width 25,on^[(10U^[(s0p12h10v0s3b3T
  48. font Small,width 18,on^[(10U^[(s0p16.67h8.5v0s0b0T
  49. ;;       |> Sprint requires "small" font for certain environments
  50. font Lineprinter,width 18,on^[(10U^[(s0p16.67h8.5v0s0b0T
  51. ;;                                          |   |     |> Lineprinter font
  52. ;;                                          |   |> point size 8.5
  53. ;;                                          |> 16.6 char/inch
  54.  
  55. printer LaserJet IIP.PC8-Landscape,
  56.     hpi 300, vpi 232,
  57. ;;                    |> Why is vpi 232 in landscape mode???
  58.     init^[&l1oe50F^[&aR^[9,reset^[E^[&lo66F
  59. ;;               ||  |    |  |> Set to default margins
  60. ;;               ||  |    |> Set cursor position at zeroth row
  61. ;;               ||  |> Text length = 50 lines
  62. ;;               ||> ^[&l0e sets Top Margin to 0 lines
  63. ;;               |> ^[&l1o = landscape orientation
  64. font Pica,width 30,on^[(10U^[(s0p10h12v0s0b3T
  65. font Pica.italic,width 30,on^[(10U^[(s0p10h12v1s0b3T
  66. font Pica.bold,width 30,on^[(10U^[(s0p10h12v0s3b3T
  67. font Elite,width 25,on^[(10U^[(s0p12h10v0s0b3T
  68. font Elite.italic,width 25,on^[(10U^[(s0p12h10v1s0b3T
  69. font Elite.bold,width 25,on^[(10U^[(s0p12h10v0s3b3T
  70. font Small,width 18,on^[(10U^[(s0p16.67h8.5v0s0b0T
  71. font Lineprinter,width 18,on^[(10U^[(s0p16.67h8.5v0s0b0T
  72.  
  73. printer LaserJet IIP.PC850-Portrait
  74. ;; See PC850.TCT for suggested formatter translations.
  75. font Pica,width 30,on^[(12U^[(s0p10h12v0s0b3T
  76. font Pica.italic,width 30,on^[(12U^[(s0p10h12v1s0b3T
  77. font Pica.bold,width 30,on^[(12U^[(s0p10h12v0s3b3T
  78. font Elite,width 25,on^[(12U^[(s0p12h10v0s0b3T
  79. font Elite.italic,width 25,on^[(12U^[(s0p12h10v1s0b3T
  80. font Elite.bold,width 25,on^[(12U^[(s0p12h10v0s3b3T
  81. font Small,width 18,on^[(12U^[(s0p16.67h8.5v0s0b0T
  82. font Lineprinter,width 18,on^[(12U^[(s0p16.67h8.5v0s0b0T
  83.  
  84. printer LaserJet IIP.PC850-Landscape,
  85.     hpi 300, vpi 232,
  86.     init^[&l1oe50F^[&aR^[9,reset^[E^[&lo66F
  87. font Pica,width 30,on^[(12U^[(s0p10h12v0s0b3T
  88. font Pica.italic,width 30,on^[(12U^[(s0p10h12v1s0b3T
  89. font Pica.bold,width 30,on^[(12U^[(s0p10h12v0s3b3T
  90. font Elite,width 25,on^[(12U^[(s0p12h10v0s0b3T
  91. font Elite.italic,width 25,on^[(12U^[(s0p12h10v1s0b3T
  92. font Elite.bold,width 25,on^[(12U^[(s0p12h10v0s3b3T
  93. font Small,width 18,on^[(12U^[(s0p16.67h8.5v0s0b0T
  94. font Lineprinter,width 18,on^[(12U^[(s0p16.67h8.5v0s0b0T
  95.  
  96. printer LaserJet IIP.ECMA94-Portrait
  97. ;; See ECMA94.TCT for suggested formatter translations.
  98. font Pica,width 30,on^[(0N^[(s0p10h12v0s0b3T
  99. font Pica.italic,width 30,on^[(0N^[(s0p10h12v1s0b3T
  100. font Pica.bold,width 30,on^[(0N^[(s0p10h12v0s3b3T
  101. font Elite,width 25,on^[(0N^[(s0p12h10v0s0b3T
  102. font Elite.italic,width 25,on^[(0N^[(s0p12h10v1s0b3T
  103. font Elite.bold,width 25,on^[(0N^[(s0p12h10v0s3b3T
  104. font Small,width 18,on^[(0N^[(s0p16.67h8.5v0s0b0T
  105. font Lineprinter,width 18,on^[(0N^[(s0p16.67h8.5v0s0b0T
  106.  
  107. printer LaserJet IIP.ECMA94-Landscape,
  108.     hpi 300, vpi 232,
  109.     init^[&l1oe50F^[&aR^[9,reset^[E^[&lo66F
  110. font Pica,width 30,on^[(0N^[(s0p10h12v0s0b3T
  111. font Pica.italic,width 30,on^[(0N^[(s0p10h12v1s0b3T
  112. font Pica.bold,width 30,on^[(0N^[(s0p10h12v0s3b3T
  113. font Elite,width 25,on^[(0N^[(s0p12h10v0s0b3T
  114. font Elite.italic,width 25,on^[(0N^[(s0p12h10v1s0b3T
  115. font Elite.bold,width 25,on^[(0N^[(s0p12h10v0s3b3T
  116. font Small,width 18,on^[(0N^[(s0p16.67h8.5v0s0b0T
  117. font Lineprinter,width 18,on^[(0N^[(s0p16.67h8.5v0s0b0T
  118.  
  119. printer LaserJet IIP.PC8DN-Portrait
  120. font Pica,width 30,on^[(11U^[(s0p10h12v0s0b3T
  121. font Pica.italic,width 30,on^[(11U^[(s0p10h12v1s0b3T
  122. font Pica.bold,width 30,on^[(11U^[(s0p10h12v0s3b3T
  123. font Elite,width 25,on^[(11U^[(s0p12h10v0s0b3T
  124. font Elite.italic,width 25,on^[(11U^[(s0p12h10v1s0b3T
  125. font Elite.bold,width 25,on^[(11U^[(s0p12h10v0s3b3T
  126. font Small,width 18,on^[(11U^[(s0p16.67h8.5v0s0b0T
  127. font Lineprinter,width 18,on^[(11U^[(s0p16.67h8.5v0s0b0T
  128.  
  129. printer LaserJet IIP.PC8DN-Landscape,
  130.     hpi 300, vpi 232,
  131.     init^[&l1oe50F^[&aR^[9,reset^[E^[&lo66F
  132. font Pica,width 30,on^[(11U^[(s0p10h12v0s0b3T
  133. font Pica.italic,width 30,on^[(11U^[(s0p10h12v1s0b3T
  134. font Pica.bold,width 30,on^[(11U^[(s0p10h12v0s3b3T
  135. font Elite,width 25,on^[(11U^[(s0p12h10v0s0b3T
  136. font Elite.italic,width 25,on^[(11U^[(s0p12h10v1s0b3T
  137. font Elite.bold,width 25,on^[(11U^[(s0p12h10v0s3b3T
  138. font Small,width 18,on^[(11U^[(s0p16.67h8.5v0s0b0T
  139. font Lineprinter,width 18,on^[(11U^[(s0p16.67h8.5v0s0b0T
  140.  
  141. printer LaserJet IIP.Roman8-Portrait
  142. font Pica,width 30,on^[(8U^[(sp10h12v0s0b3T,tct roman8
  143. font Pica.italic,width 30,on^[(8U^[(s0p10h12v1s0b3T,tct roman8
  144. font Pica.bold,width 30,on^[(8U^[(s0p10h12v0s3b3T,tct roman8
  145. font Elite,width 25,on^[(8U^[(s0p12h10v0s0b3T,tct roman8
  146. font Elite.italic,width 25,on^[(8U^[(s0p12h10v1s0b3T,tct roman8
  147. font Elite.bold,width 25,on^[(8U^[(s0p12h10v0s3b3T,tct roman8
  148. font Small,width 18,on^[(8U^[(s0p16.67h8.5v0s0b0T,tct roman8
  149. font Lineprinter,width 18,on^[(8U^[(s0p16.67h8.5v0s0b0T,tct roman8
  150.  
  151. printer LaserJet IIP.Roman8-Landscape,
  152.     hpi 300, vpi 232,
  153.     init^[&l1oe50F^[&aR^[9,reset^[E^[&lo66F
  154. font Pica,width 30,on^[(8U^[(sp10h12v0s0b3T,tct roman8
  155. font Pica.italic,width 30,on^[(8U^[(s0p10h12v1s0b3T,tct roman8
  156. font Pica.bold,width 30,on^[(8U^[(s0p10h12v0s3b3T,tct roman8
  157. font Elite,width 25,on^[(8U^[(s0p12h10v0s0b3T,tct roman8
  158. font Elite.italic,width 25,on^[(8U^[(s0p12h10v1s0b3T,tct roman8
  159. font Elite.bold,width 25,on^[(8U^[(s0p12h10v0s3b3T,tct roman8
  160. font Small,width 18,on^[(8U^[(s0p16.67h8.5v0s0b0T,tct roman8
  161. font Lineprinter,width 18,on^[(8U^[(s0p16.67h8.5v0s0b0T,tct roman8
  162.  
  163. ;;;;;;;;;;;;;;;;;;;;; ENVELOPES ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  164.  
  165. ;; Top margin must be set to at least 1 line.  If set to 0, 
  166. ;; half the top line is not printed.
  167. ;; This description uses only manual feeding from the MP tray.
  168. ;; See ENV.MSS for specimen envelope formats
  169.  
  170. printer LaserJet IIP.Com10,
  171.         hpi 300, vpi 300,
  172.         init^[E^[&l3h81a1o1E^[&aL^[&arC^[9,reset^[E^[&lo66F
  173. ;;                  |  | ||    |    ||  |> ^[9  resets margins to default values
  174. ;;                  |  | ||    |    ||> ^[&aR sets "cursor" to the zeroth row
  175. ;;